<?php
class Mageex_AdvanceSeo_Block_Cms_Page extends Mage_Cms_Block_Page
{
    protected function _prepareLayout()
    {
        parent::_prepareLayout();
        $page = $this->getPage();
        if ($head = $this->getLayout()->getBlock('head')) {
            $head->setRobots($page->getMetaRobots());
        }
    }
}
